import requests


from com.yh.likeshop.api.user import User


class TestParent():
    @classmethod
    def setup_class(cls):
        cls.session = requests.Session()
        user = User()
        loginResp = user.login("13177826095", "gyt123456", 5)
        cls.token = {"token": loginResp.json()["data"]["token"]}